/* 
假设浏览器高度900px，宽度为750px, 1 vh = 900px/100 = 9 px，1vw = 750px/100 = 7.5 px， 很容易实现与同屏幕等高的框。
 */

/* 总容器 */
.wraper {
    width: 100%;
    height: 100%;
}

/* header */
.header {
    width: 100%;
    height: 12vw;
    background-color: #0097FF;
    display: flex;
    align-items: center;
}
.header .icon {
    width: 3.5vw;
    height: 3.5vw;
    margin: 0 1vw 0 3vw;
}
.header .title {
    font-size: 4.5vw;
    color: white;
    font-weight: 700;
}
.header .title .fa-caret-down {
    margin-left: 1vw;
}

/* search */
.wraper .search {
    width: 100%;
    height: 13vw;
}
.wraper .search .search-fixed-top {
    width: 100%;
    height: 13vw;
    background-color: #0097FF;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-fixed-top .search-box {
    width: 90%;
    height: 9vw;
    background-color: white;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    font: 3.5vw;
    color: #AEAEAE;
    font-family: '宋体';
    /* 此样式是让文本选中状态无效 */
    user-select: none;
} 
.search-box .fa-search {
    margin-right: 1vw;
}

/* 点餐分类 */
.wraper .foodtype {
    width: 100%;
    height: 48vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.foodtype li {
    width: 18vw;
    height: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
    cursor: pointer;
}
.foodtype li .img {
    width: 12vw;
    height: 12vw;
}
.foodtype li .img img {
    width: 100%;
    height: 100%;
}
.foodtype li p {
    font-size: 3.2vw;
    color: #666;
}

/* 横幅广告 */
.wraper .banner {
    width: 95%;
    margin: 0 auto;
    height: 29vw;
    background: url('../img/index_banner.png') no-repeat;
    background-size: cover;
    padding: 2vw 6vw;
}
.wraper .banner h3 {
    font-size: 4.2vw;
    margin-bottom: 1.2vw;
}
.wraper .banner p {
    font-size: 3.4vw;
    color: #666;
    margin-bottom: 2.4vw;
}
.wraper .banner a {
    font-size: 3vw;
    color: #C79060;
    font-weight: 700;
}

/* 超级会员部分 */
.wraper .supermember {
    width: 95%;
    height: 11.5vw;
    margin: 0 auto;
    background-color: #FEEDC1;
    margin-top: 1.3vw;
    border-radius: 2px;
    color: #644F1B;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.supermember .left {
    display: flex;
    align-items: center;
    margin-left: 4vw;
    user-select: none;
}
.supermember .left .img {
    width: 6vw;
    height: 6vw;
    margin-right: 2vw;
}
.supermember .left .img img {
    width: 100%;
    height: 100%;
}
.supermember .left h3 {
    font-size: 4vw;
    margin-right: 2vw;
}
.supermember .left p {
    font-size: 3vw;
}
.supermember .right {
    font-size: 3vw;
    margin-right: 4vw;
    cursor: pointer;
}

/* 推荐方式 */
.wraper .recommendtype {
    width: 100%;
    height: 5vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.wraper .recommendtype li {
    font-size: 3.5vw;
    color: #555;
}

/* 推荐商家 */
.wraper .recommend {
    width: 100%;
    height: 14vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.recommend .recommend-line {
    width: 6vw;
    height: 0.2vw;
    background-color: #888;
}
.recommend p {
    font-size: 4vw;
    margin: 0 4vw;
}

/* 推荐商家列表部分 */
.wraper .business {
    width: 100%;
    margin-bottom: 14vw;
}
.business li {
    width: 100%;
    box-sizing: border-box;
    padding: 2.5vw;
    user-select: none;
    display: flex;
    border-bottom: 1px solid #DDD;
}
.business li .img {
    width: 18vw;
    height: 18vw;
}
.business li .img img {
    width: 100%;
    height: 100%;
}
.business li .business-info {
    width: 100%;
    padding-left: 3vw;
}
.business li .business-info .business-info-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vw;
}
.business-info .business-info-h h3 {
    font-size: 4vw;
    color: #333;
}
.business-info .business-info-h .business-info-like {
    width: 1.6vw;
    height: 3.4vw;
    background-color: #666;
    color: #fff;
    font-size: 4vw;
    margin-left: 4vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.business-info-star {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2vw;
    font-size: 3.1vw;
}
.business-info-star .business-info-star-left {
    display: flex;
    align-items: center;
}
.business-info-star-left .fa-star {
    color: #FEC80E;
    margin-right: 0.5vw;
}
.business-info-star-left p {
    color: #666;
    margin-left: 1vw;
}
.business-info-star-right {
    background-color: #0097FF;
    color: white;
    font-size: 2.4vw;
    border-radius: 2px;
    padding: 0 0.6vw;
}
.business-info-delivery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2vw;
    color: #666;
    font-size: 3.1vw;
}
.business-info-explain {
    /* display: flex; */
/*    align-items: center; */
    margin-bottom: 3vw;
}
.business-info-explain span {
    border: 1px solid #DDD;
    font-size: 2.8vw;
    color: #666;
    border-radius: 3px;
    padding: 0 0.1vw;
}
.business-info-promotion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8vw;
}
.business-info-promotion-left {
    display: flex;
    align-items: center;
}
.business-info-promotion-left-incon {
    width: 4vw;
    height: 4vw;
    font-size: 3vw;
    color: white;
    border-radius: 3px;
    background-color: #70BC46;
    display: flex;
    justify-content: center;
    align-items: center;
}
.business-info-promotion-left p {
    color: #666;
    font-size: 3vw;
    margin-left: 2vw;
}
.business-info-promotion-right {
    display: flex;
    align-items: center;
    font-size: 2.5vw;
    color: #999;
}
.business-info-promotion-right p {
    margin-right: 2vw;
}

/* 底部菜单 */
.wraper .footer {
    width: 100%;
    height: 14vw;
    border-top: 1px solid #DDD;
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
}
.footer li {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    user-select: none;
    cursor: pointer;
    color: #666;
}
.footer li p {
    font-size: 2.8vw;
}
.footer li i {
    font-size: 5vw;
}
